<div class="TBB_content">
	<h2>Danh sách chuyến</h2>
</div>


<div class="container span-21 last">	
	<?php if($this->paginator != null) { ?>
	<div class="paginationContainer">
	<?php echo $this->paginationControl($this->paginator, 'Sliding', 'partials/pagination-control.phtml'); ?>
	</div>	
	<table class="rounded-corner">
		<thead>
			<tr>
				<th scope="col" class="rounded-left">Mã số</th>
				<th scope="col">Từ</th>
				<th scope="col" >Đến</th>
				<th scope="col" >Giờ khởi hành</th>
				<th scope="col" >Giá vé</th>
				<th scope="col" >Loại ghế</th>
				<th scope="col" >Chỗ trống</th>
				<th scope="col">Xuất phát</th>
				<th scope="col" class="rounded-right">Chọn</th>	
			</tr>
		</thead>
		<tfoot>
	    	<tr>
	        	<td colspan="<?php echo $this->column_count;?>" class="rounded-foot-left"></td>
	        	<td class="rounded-foot-right">&nbsp;</td>
	        </tr>
		</tfoot>
		<tbody>
			<?php echo $this->partialLoop('partials/_trip-row.phtml', $this->paginator)?>
		</tbody>
	</table>
<?php } else { ?>
<p>Không có chuyến nào</p>
<?php  } ?>